package com.lanchetech.dao;

import com.lanchetech.bean.request.TeacherGroupReq;
import com.lanchetech.bean.vo.TeacherGroupVO;
import com.lanchetech.entity.TeacherGroup;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TeacherGroupMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TeacherGroup record);

    int insertSelective(TeacherGroup record);

    TeacherGroup selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TeacherGroup record);

    int updateByPrimaryKey(TeacherGroup record);

    int updateBatch(List<TeacherGroup> list);

    int updateBatchSelective(List<TeacherGroup> list);

    int batchInsert(@Param("list") List<TeacherGroup> list);

    List<TeacherGroupVO> findAllPage(TeacherGroupReq req);

}